﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LowCodeDevelopment.Models
{
    /// <summary>
    /// 请假表
    /// </summary>
    [Table("tb_Leave")]
    public class LeaveModel
    {
        /// <summary>
        /// 请假编号主键
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 请假人编号
        /// </summary>
        public int User_Id { get; set; }
        /// <summary>
        /// 请假人姓名
        /// </summary>
        public string User_Name { get; set; }
        /// <summary>
        /// 请假类型
        /// </summary>
        public string Leave_type { get; set; }
        /// <summary>
        /// 请假原因
        /// </summary>
        public string Leave_reason { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime Start_date { get; set; }
        /// <summary>
        /// 终止日期
        /// </summary>
        public DateTime End_date { get; set; }
        /// <summary>
        /// 提交日期
        /// </summary>
        public DateTime Add_date { get; set; }
        /// <summary>
        /// 流程号
        /// </summary>
        public int Flow_no { get; set; }
        /// <summary>
        /// 当前节点编号
        /// </summary>
        public int Current_node { get; set; }
    }
}
